<!DOCTYPE HTML>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="maximum-scale=1.0, minimum-scale=1.0, user-scalable=0, initial-scale=1.0, width=device-width" />
    <meta name="format-detection" content="telephone=no, email=no, date=no, address=no">
    <title>Login</title>
    <link rel="stylesheet" type="text/css" href="../css/api.css" />
    <style>
        label {
            margin-top: 80px;
        }
    </style>
</head>

<body>
    <label>Login</label>
    <a class="button" tapmode="active" onclick="turnToOther()">跳转到其他</a>
</body>
<script type="text/javascript" src="../script/api.js"></script>
<script type="text/javascript">
    apiready = function() {
        console.log('login page is here ...')
    };

    function turnToNRS() {
        // alert('turn to NRS!!')
        api.sendEvent({
            name: 'demo',
            extra: {
                key1: 'value1',
                key2: 'value2'
            }
        });

        api.setFrameGroupIndex({
            name: 'group1',
            index: 1,
            scroll: false
        });
    }
</script>

</html>
